<include file="Public:header"/>
<div id="main-content" class="content">
    <ul class="breadcrumb">
        <li><a href="/">首页</a></li>
        <li class="active"><a href="">方法管理</a></li>
        <li class="active">方法列表</li>
    </ul>
    <div class="page-header clearfix">
        <h3>方法管理</h3>
        <ul class="nav nav-tabs">    
            <li class="active">
                <a href="{:U('Function/functionList')}">方法列表</a>
            </li>
        </ul>
    </div>

    <div class="content-box-table">
        <form action="{:U('Function/functionList')}" method="post" class="">
            <table class="table table-striped table-framed table-hover">
                <thead>
                    <tr>
                        <th width="4%">
                            <input class="check-all" type="checkbox" />
                        </th>
                        <th>方法名称</th>
                        <th>方法描述</th>
                        <!-- <th>所属模块</th> -->
                        <th>创建时间</th>
                        <th width="10%">操作</th>
                    </tr>
                </thead>
                <tbody class="tbody">
                    <if condition="empty($function_list)">
                        <tr><td colspan="20"><span style="font-size:14px;">暂无数据</span></td></tr>
                    </if>
                    <volist name="function_list" id="vo">
                        <tr>
                            <td><input type="checkbox" value="{$vo['f_id']}" name="f_id[]"/></td>
                            <td>{$vo['f_name']}</td>
                            <td>{$vo['f_desc']}</td>
                            <!-- <td>{$vo['mo_name']['mo_name']}</td> -->
                            <td>{$vo['ctime']|date='Y-m-d',###}</td>
                            <td>
                                <a href="{:U('Function/editFunction',array('f_id'=>$vo['f_id']))}" title="编辑" class="modify">
                                   <span class="icon glyphicon glyphicon-pencil"></span>
                                </a>&nbsp;
                                <a href="#" title="删除" class="delete-delete">
                                    <span class="icon glyphicon glyphicon-remove"></span>
                                </a><input type="hidden" value="{:U('Function/deleteFunction',array('f_id'=>$vo['f_id']))}">
                            </td>
                        </tr>
                    </volist>
                </tbody>
                <tfoot>
                    <tr>
                        <td colspan="20">
                            <div class="bulk-actions fl">
                                <input type="button" class="btn delete-batch" value="批量删除">　
                            </div>
                            <div class="fr">
                                {$page}
                            </div>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </form>
    </div>


</div>

<include file="Public:footer"/>